import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'  
Vue.prototype.$http=axios; 
import echarts from 'echarts' //引入echarts
Vue.prototype.$echarts = echarts //引入组件

Vue.config.productionTip = false
axios.defaults.timeout = 5000 // 请求超时
axios.defaults.headers.post["Content-Type"]="application/json";
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
